import { Form, InputNumber, Col } from "antd";
import React from "react";

const Item = Form.Item;

const Index = ({ item, style, col }) => (
  <Item
    name={item.name}
    key={item.label}
    label={item.label}
    rules={item.rules || []}
  >
    <InputNumber style={style} />
  </Item>
);
export default Index;
